ShortPixel\Controller\FileSystemController A

Total Complexity 75
Dependencies 6
Dependents 2
Total lines 431
Lines of code 250
Logical lines of code 157
Comment lines 98
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
43 17 43
getBackupDirectory()
A
48 9 32
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
downloadFile()
S
50 4 30
sortFiles()
S
58 4 16
getFilesRecursive()
S
61 3 13
getWPFileBase()
S
61 3 12
getWPAbsPath()
S
62 3 11
getMediaImage()
S
66 3 8
getImage()
S
64 3 10
checkURL()
S
64 3 10
__construct()
S
80 1 3
getFile()
S
80 1 3
getCustomImage()
S
76 1 4
getCustomStub()
S
73 1 5
getOriginalImage()
S
72 1 5
getDirectory()
S
80 1 3
getWPUploadBase()
S
74 1 4
checkBackUpFolder()
S
73 1 5